import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'

/*-----------地址信息管理-----------*/
const serviceName = '/sjsk-detection-service'
const addTestNoticeRecord = (params) => postAction(`${serviceName}/testNotice/addTestNoticeRecord`, params)
const deleteTestNoticeRecord = (params) => postAction(`${serviceName}/testNotice/deleteTestNoticeRecord`, params)
const list = (params) => getAction(`${serviceName}/testNotice/list`, params)
const listToUrine = (params) => postAction(`${serviceName}/testNotice/listToUrine`, params)
const updateTestNoticeRecord = (params) => postAction(`${serviceName}/testNotice/updateTestNoticeRecord`, params)

const getArea = (params) => postAction(`/sjsk-system/sys/admin-division/get-by-code`, params)
export {
  addTestNoticeRecord,
  deleteTestNoticeRecord,
  list,
  listToUrine,
  updateTestNoticeRecord,
  getArea
}
